﻿namespace Proxy
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "Proxy.ISETipoLabor")]
    public interface ISETipoLabor
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoLabor/Listar", ReplyAction = "http://tempuri.org/ISETipoLabor/ListarResponse")]
        TipoLabor[] Listar();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoLabor/Insertar", ReplyAction = "http://tempuri.org/ISETipoLabor/InsertarResponse")]
        int Insertar(TipoLabor request);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoLabor/Modificar", ReplyAction = "http://tempuri.org/ISETipoLabor/ModificarResponse")]
        void Modificar(TipoLabor request);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoLabor/Eliminar", ReplyAction = "http://tempuri.org/ISETipoLabor/EliminarResponse")]
        void Eliminar(int codigoTipoLabor);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoLabor/Buscar", ReplyAction = "http://tempuri.org/ISETipoLabor/BuscarResponse")]
        TipoLabor[] Buscar(string nombre);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoLabor/Obtener", ReplyAction = "http://tempuri.org/ISETipoLabor/ObtenerResponse")]
        TipoLabor Obtener(int codigoTipoLabor);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoLabor/ObtenerListItem", ReplyAction = "http://tempuri.org/ISETipoLabor/ObtenerListItemResponse")]
        ListItemInt[] ObtenerListItem();
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISETipoLaborChannel : ISETipoLabor, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SETipoLaborClient : System.ServiceModel.ClientBase<ISETipoLabor>, ISETipoLabor
    {

        public SETipoLaborClient()
        {
        }

        public SETipoLaborClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public SETipoLaborClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SETipoLaborClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SETipoLaborClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public TipoLabor[] Listar()
        {
            return base.Channel.Listar();
        }

        public int Insertar(TipoLabor request)
        {
            return base.Channel.Insertar(request);
        }

        public void Modificar(TipoLabor request)
        {
            base.Channel.Modificar(request);
        }

        public void Eliminar(int codigoTipoLabor)
        {
            base.Channel.Eliminar(codigoTipoLabor);
        }

        public TipoLabor[] Buscar(string nombre)
        {
            return base.Channel.Buscar(nombre);
        }

        public TipoLabor Obtener(int codigoTipoLabor)
        {
            return base.Channel.Obtener(codigoTipoLabor);
        }

        public ListItemInt[] ObtenerListItem()
        {
            return base.Channel.ObtenerListItem();
        }
    }

}